package com.demo.webfluxdemo.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author: lipan
 * @date: 2021/9/22 21:00
 */
@Data
@Document("user")
public class User {
    @Id
    private String id;
    private String name;
    private  int age;

}
